package com.lecampus.businessSecond_hand_transactions.service;

import com.lecampus.businessSecond_hand_transactions.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lecampus.businessSecond_hand_transactions.vo.ProductCategoryVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-03-24
 */
public interface ProductService extends IService<Product> {

    List<ProductCategoryVO> findAll();

    List<ProductCategoryVO> findByUserId(String userId);

    void inputProduct(Product product);

    void deleteProductById(String productId);

}
